package _0925.poly;

public class ShapeTest {
	
	public static void area(Shape s) {
		System.out.println(s.area());
	}
	public static void perimeter(Shape s) {
		System.out.println(s.perimeter());
	}
	
	public static void main(String[] args) {
		Trangle t = new Trangle(4,3);
		area(t);
		perimeter(t);
		
		Circle c = new Circle(5);
		area(c);
		perimeter(c);
		
		Square s = new Square(4,5);
		area(s);
		perimeter(s);
	}
}
